package com.hnyyac.ad.mds

import android.app.Activity
import android.content.Context

interface IAdView {
    var ecpmAdnShowIdListStr: String?
    var showChainSession: String?

    fun loadAd()

    fun getAdType(): IAdType
    fun getEcpm(): Double
    fun show(activity: Activity)
    fun getAdShowId(): String   //获取gromore广告ID
    fun getSlotId():String   //获取代码位ID
    fun isValid(): Boolean
    fun getshowid_bg():String  //曝光的ID，sdk自带
    fun setOnShowingListener(listener: IAdViewListener?)

    fun getPosition(): Int?
    fun getSdkName(): String?
    fun setPosition(position: Int)

}